package com.tz.test.service;

import com.tz.test.vo.TransactionInfo;

import java.util.List;

/**
 * @Author: qiuxiangjin
 * @Date: 2020/4/24
 */
public interface InsertDataHouseService<T> {

    /**
     * 数据入库
     * @param transactionInfo
     * @param partitionData
     * @throws Exception
     */
    void saveData(TransactionInfo transactionInfo, List<T> partitionData) throws Exception;
}
